<template lang="html">
	<wv-header title="wevue"  :fixed="false" background-color="#2196f3">
	  	<div class="btn-back" slot="left">
	    	<i class="iconfont icon-back" @click="onClickLeft">dhh</i>
	  	</div>
	  	<div class="btn-menu" slot="right">
	    	<i class="iconfont icon-menu" @click="onClickRight">dfsdf</i>
	  	</div>
	</wv-header>
</template>
<script>
	import { Toast } from 'we-vue'
	export default {
		props: ['Title'],
	  // 数据
	  	data() {
		    return {
		      	value: ""
		    };
	  	},
	  	// 当数据发生改变时
	  	watch: {},
		// 方法
		methods: {
	    	onClickLeft() {
		      	Toast({
				  duration: 1000,
				  message: '操作失败',
				  icon: 'warn'
				})
		    },
		    onClickRight() {
		      	Toast({
				  duration: 1000,
				  message: '操作失败',
				  icon: 'warn'
				})
		    },
	  	},
	  	// 路由发生变化时
	  	beforeRouteLeave (to, from, next) {
	    	var conent = this;
	    	next()
	  	},
	  	// 加载模块
	  	components:{},
	  	// 加载执行
	  	created:function(){ 

	  	}
	};
</script>